Repository navigation
docs: link to the Mockolate docs by site path - #151
Merged
Merged
Conversation
Relative links name the files in the Mockolate repository, so renumbering a page there, such as create mocks becoming 03-create-mocks.md, breaks the build of the docs site. Site paths stay stable across such renames.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



The migration guides linked into the Mockolate docs by relative file path (
../04-create-mocks.md). Testably/Mockolate'sdocs/mocks-as-test-parametersrenumbers that page to03-create-mocks.md, which would break the build of the docs site. Site paths (/Mockolate/create-mocks) do not depend on the file names in the Mockolate repository, so all links into the Mockolate docs use them now, and the documentation workflow says so.Merge this before the Mockolate docs change; the site paths already resolve against the current docs.